<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>myelm</title>
    <link rel="stylesheet" href="./static/css/reset.css">
    <style>
      html{
        /*font-family: "Microsoft YaHei";*/
      }
    </style>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
  <script>

console.log('screen.width:'+window.devicePixelRatio);
console.log('-------------');
console.log('screen.width:'+window.screen.width);
console.log('screen.height:'+window.screen.height);// 如果是电脑屏幕，就是当前分辨率1366*768。如果是手机屏幕，就是逻辑像素414*736
console.log('-------------');
console.log('innerWidth:'+window.innerWidth);
console.log('innerHeight:'+window.innerHeight);
console.log('-------------');
console.log('clientWidth:'+document.documentElement.clientWidth);
console.log('clientHeight:'+document.documentElement.clientHeight);
console.log('-------------');
console.log('offsetWidth:'+document.documentElement.offsetWidth);
console.log('offsetHeight:'+document.documentElement.offsetHeight);
  </script>
</html>
